package com.shrct.businessprocess.organization;

import com.shrct.businessprocess.organization.RCEmployee;
import com.shrct.businessprocess.organization.RCEnterprise;
import com.shrct.businessprocess.organization.RCRoleAssignment;
import com.shrct.businessprocess.organization.RCSupplier;
import edu.fudan.mylang.pf.IBaseService;
import java.util.Collection;

public interface RCOrganizationService extends IBaseService {
  public abstract RCEmployee registerEmployee(final String eid);
  
  public abstract void registerRoleAssignment(final String roleid, final RCEmployee employee);
  
  public abstract void removeRoleAssignment(final String roleId, final RCEmployee employee);
  
  public abstract Collection<RCRoleAssignment> getRoleAssignment(final String roleId);
  
  public abstract Collection<RCRoleAssignment> getRoleAssignment(final RCEmployee employee);
  
  public abstract RCEmployee getBusinessMan4Saler(final RCEmployee saler);
  
  public abstract RCEnterprise registerEnterprise(final String code);
  
  public abstract RCSupplier registerSupplier(final String code);
  
  public abstract RCEnterprise getHostEnterprise();
  
  public abstract RCEnterprise findEnterpriseByCode(final String code);
}
